﻿@model SportsStore.WebUI.Models.ProductsListViewModel
@{
    ViewBag.Title = "产品页";
}
@foreach (var p in Model.Products)
{
    @Html.Partial("ProductSummary",p)
}
<div>
    @Html.PageLinks(Model.PageInfo,x=>Url.Action("List",new {page=x,category=Model.CurrentCategory}))
</div>